package smecta.client.print.controller;

import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.stage.Stage;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class ReportParamSettingController {

    @FXML
    private Button saveButton;
    @FXML
    private Button closeButton;

    @FXML
    private void handleSave() {
        // 进行保存操作
        // 关闭窗口
        Stage stage = (Stage) saveButton.getScene().getWindow();
        stage.close();
    }


    @FXML
    private void handleClose() {
        // 关闭窗口
        Stage stage = (Stage) closeButton.getScene().getWindow();
        stage.close();
    }

}
